<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增会员信息')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-member-add">
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">会员手机号：</label>
                <div class="col-sm-8">
                    <input name="memberPhone" class="form-control" type="text" required>
                </div>
            </div>
        </div>
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">会员邮箱：</label>
                <div class="col-sm-8">
                    <input name="memberEmail" class="form-control" type="text" required>
                </div>
            </div>
        </div>
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">会员认证标识：</label>
                <div class="col-sm-8">
                    <input name="token" class="form-control" type="text" required>
                </div>
            </div>
        </div>
        <!--<div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">配置信息：</label>
                <div class="col-sm-8">
                    <textarea name="config" class="form-control"></textarea>
                </div>
            </div>
        </div>
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">时间(小时位)：</label>
                <div class="col-sm-8">
                    <input name="pullHour" class="form-control" type="text">
                </div>
            </div>
        </div>
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">时间(小时位)：</label>
                <div class="col-sm-8">
                    <input name="pullMin" class="form-control" type="text">
                </div>
            </div>
        </div>-->
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">备注信息：</label>
                <div class="col-sm-8">
                    <textarea name="remark" class="form-control"></textarea>
                </div>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var prefix = ctx + "system/member"
    $("#form-member-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-member-add').serialize());
        }
    }
</script>
</body>
</html>